home *** CD-ROM | disk | FTP | other *** search
- /* Definitions for packet dumping */
-
- /* List of tracing functions for each interface. Entries are placed in
- * this table by the driver at attach time
- */
- extern void (*tracef[])();
-
- #define TRACE_AX25 0
- #define TRACE_ETHER 1
- #define TRACE_IP 2
- #define TRACE_APPLETALK 3
- #define NTRACE 4
-
- #define TRACE_SENT 0
- #define TRACE_RECV 1
- #define TRACE_LOOP 2
-
- void dump(struct interface *, int, unsigned int, struct mbuf *);
- void hex_dump(struct mbuf **);
- void ascii_dump(struct mbuf **);
- void fmtline(int16, char *, int16);
-